package com.utils;

public enum ResultCode {
	SUCC("200", "成功"), FAILED("1001", "失败"), PARAM_ERROR("1002", " 请求参数异常"), NO_DATA(
			"1003", "没有数据"), NO_RIGHT("1004", "没有权限访问资源"), OTHER("3001", "其他"), ILLEGAL_TOKEN("9999", "TOKEN不存在"), PARAM_LACK(
			"1006", "必传项不能为空"), IREECT_SIGN("1010", "加密串不匹配");

	private String code;

	private String msg;

	private ResultCode(String code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}
}
